import request from '@/utils/request'

// 查询活动报名列表
export function listActivitySignLog(query) {
  return request({
    url: '/activitySignLog/activitySignLog/list',
    method: 'get',
    params: query
  })
}

// 查询活动报名详细
export function getActivitySignLog(id) {
  return request({
    url: '/activitySignLog/activitySignLog/' + id,
    method: 'get'
  })
}

// 新增活动报名
export function addActivitySignLog(data) {
  return request({
    url: '/activitySignLog/activitySignLog',
    method: 'post',
    data: data
  })
}

// 修改活动报名
export function updateActivitySignLog(data) {
  return request({
    url: '/activitySignLog/activitySignLog',
    method: 'put',
    data: data
  })
}

// 删除活动报名
export function delActivitySignLog(id) {
  return request({
    url: '/activitySignLog/activitySignLog/' + id,
    method: 'delete'
  })
}
export function getUserSign() {
  return request({
    url: '/activitySignLog/activitySignLog/getActivityList',
    method: 'get',
  })
}
  // TODO 获取用户列表
  export function getUserList() {
    return request({
      url: '/activitySignLog/activitySignLog/getUserList',
      method: 'get',
    })

  }
  // TODO 获取用户列表
  export function getActivityList() {
    return request({
      url: '/activitySignLog/activitySignLog/getActivityList',
      method: 'get',
    })

  }

